package org.example.mapper;

import org.example.pojo.domain.NotificationSubscription;

import java.util.List;

public interface NotificationSubscriptionMapper {
    List<NotificationSubscription> findByUserId(Integer userId);
    void insertSubscription(NotificationSubscription subscription);
    void deleteSubscription(Integer subscriptionId);
    List<NotificationSubscription> findByNotificationType(String notificationType);
}
